package com.sctlqq.wuye.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * @author QinShijiao
 * @version 1.0
 * @createTime 2021/12/9 9:15
 */
@Data
public class Result<T> implements Serializable {
    private Integer status;
    private String msg;
    private T data;

    public Result() {
    }

    public Result(Integer status) {
        this.status = status;
    }

    public Result(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public Result(Integer status, String msg, T data) {
        this.status = status;
        this.msg = msg;
        this.data = data;
    }
}
